ContinueInterceptedRequestRequest

data class ContinueInterceptedRequestRequest(interceptionId: InterceptionId, errorReason: ErrorReason?, rawResponse: String?, url: String?, method: String?, postData: String?, headers: Headers?, authChallengeResponse: AuthChallengeResponse?)

Represents request frame that can be used with Network#continueInterceptedRequest operation call.

Response to Network.requestIntercepted which either modifies the request to continue with any modifications, or blocks it, or completes it with the provided response bytes. If a network fetch occurs as a result which encounters a redirect an additional Network.requestIntercepted event will be sent with the same InterceptionId. Deprecated, use Fetch.continueRequest, Fetch.fulfillRequest and Fetch.failRequest instead.

See also

Constructors

ContinueInterceptedRequestRequest
Link copied to clipboard
fun ContinueInterceptedRequestRequest(interceptionId: InterceptionId, errorReason: ErrorReason? = null, rawResponse: String? = null, url: String? = null, method: String? = null, postData: String? = null, headers: Headers? = null, authChallengeResponse: AuthChallengeResponse? = null)

Properties

authChallengeResponse
Link copied to clipboard
val authChallengeResponse: AuthChallengeResponse? = null
Response to a requestIntercepted with an authChallenge.
errorReason
Link copied to clipboard
val errorReason: ErrorReason? = null
If set this causes the request to fail with the given reason.
headers
Link copied to clipboard
val headers: Headers? = null
If set this allows the request headers to be changed.
interceptionId
Link copied to clipboard
val interceptionId: InterceptionId
method
Link copied to clipboard
val method: String? = null
If set this allows the request method to be overridden.
postData
Link copied to clipboard
val postData: String? = null
If set this allows postData to be set.
rawResponse
Link copied to clipboard
val rawResponse: String? = null
If set the requests completes using with the provided base64 encoded raw response, including HTTP status line and headers etc...
url
Link copied to clipboard
val url: String? = null
If set the request url will be modified in a way that's not observable by page.

Sources

jvm source
Link copied to clipboard